﻿
namespace Edu.Technion.CSE.OpenUnit4.CollectionsLib
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    interface IQueue<T>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        T Head();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        void Insert(T item);

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        bool IsEmpty();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        T Remove();

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        string ToString();

    }
}
